// Tabbar 控件
export default {
  namespaced: true,
  state: {
    active: 'home',
    isLogin: false
  },
  /* getters: {
    getActive (state) {
      return state.active
    }
  }, */
  mutations: {
    setLogin (state, data) {
      state.isLogin = data
    }
  },
  actions: {
    asyncSetLogin ({ commit }, data) {
      commit('setLogin', data)
    }
  }
}
